// CSE571 - player.h
// Authors: Jonathan Wald, Daniel Sarfati, Guangle Fan
// Player class holds data for each player/connection on the server side.   

#ifndef PLAYER_H
#define PLAYER_H

#include <vector>
#include <string>
#include <iostream>
#include <fstream>

#include "ace/SOCK_Stream.h"

#include "dealer.h"
#include "dealer-svc-handler.h"
#include "hand.h"

using namespace std;

class Card;
class Game;

class Player {

 public:
   string name;
   vector<string> games;
   vector<pair<string,string> > servers;		// <port,host>
   
   DealerSvcHandler handler;
   Game* active_game;
   
   Hand hand;
   int score;
   
   ~Player();
   void send_card(Card card);
   
      
 private:
   
};


#endif
